using System;
using System.Collections.Generic;
using System.Text;

namespace Toenda.Foundation {
	/// <summary>
	/// Extends the CultureInfo class
	/// </summary>
	public static class StringBuilderExtensions {
		/// <summary>
		/// Clears the specified instance.
		/// </summary>
		/// <param name="instance">The instance.</param>
		public static void Clear(this StringBuilder instance) {
			instance.Remove(0, instance.Length);
		}

		/// <summary>
		/// Clears the specified instance.
		/// </summary>
		/// <param name="instance">The instance.</param>
		/// <param name="obj">The instance.</param>
		public static void Clear(this StringBuilder instance, StringBuilder obj) {
			obj.Remove(0, obj.Length);
		}
	}
}
